package com.practice.thread;

public class Student implements Singer {
	private String name;
	Student(String name){
		this.name=name;
	}
	public void study(){
		System.out.println("Studying");
	}
	public String getName(){
		return name;
	}

	@Override
	public void sing() {
		System.out.println("Student is studying!");
	}

	@Override
	public void sleep() {
		System.out.println("Student is sleeping!");
	}



}
